package com.lin.eat.entry;

public class Good {

    private String g_name;
    private String g_synopsis;
    private float g_price;

    public Good() {
    }

    public Good(String g_name, String g_synopsis, float g_price) {
        this.g_name = g_name;
        this.g_synopsis = g_synopsis;
        this.g_price = g_price;
    }

    @Override
    public String toString() {
        return "Good{" +
                "g_name='" + g_name + '\'' +
                ", g_synopsis='" + g_synopsis + '\'' +
                ", g_price=" + g_price +
                '}';
    }

    public String getG_name() {
        return g_name;
    }

    public void setG_name(String g_name) {
        this.g_name = g_name;
    }

    public String getG_synopsis() {
        return g_synopsis;
    }

    public void setG_synopsis(String g_synopsis) {
        this.g_synopsis = g_synopsis;
    }

    public float getG_price() {
        return g_price;
    }

    public void setG_price(float g_price) {
        this.g_price = g_price;
    }
}
